package com.cskaoyan.bean.vo;

import com.cskaoyan.bean.entity.GoodsSpecification;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class SpecificationListDTO {

    // 具体商品的规格名
    private String name;
    // 具体的商品规格列表
    private List<GoodsSpecification> valueList;

    public SpecificationListDTO(String name, List<GoodsSpecification> valueList) {
        this.name = name;
        this.valueList = valueList;
    }

}
